//
//  CarShopModel.m
//  ZhuKuang
//
//  Created by jjkj on 17/7/11.
//  Copyright © 2017年 jjkj. All rights reserved.
//

#import "CarShopModel.h"

@implementation CarShopModel

+ (void)getCarShopInfoList:(NSDictionary *)postParams success:(ResponseBlock)response
{
    [MBProgressHUD postLoadViewWithText:HUD_PLEASEWAIT View:kWindow];
    [ClientRequest SOAPMthod:getcarShopInfo
                    soapBody:postParams
                     success:^(id responseObject) {
                         dispatch_async(dispatch_get_main_queue(), ^{
                             [MBProgressHUD hideLoadViewWithView:kWindow];
                         });
                         if (response) {
                             response(responseObject);
                         }
                     } failure:^(NSError *error) {
                         dispatch_async(dispatch_get_main_queue(), ^{
                             [MBProgressHUD hideLoadViewWithView:kWindow];
                         });
                     }];
}

@end
